<?php

namespace app\index\controller;

use think\Controller;

class Blog extends Controller
{
    public function index($id)
    {
        return '查看ID: ' . $id . '的内容';
    }

    public function read($name)
    {
        return '读取Name: ' . $name . '的资料';
    }

    public function article($year, $month, $day)
    {
        return '查阅: ' . $year . '/' . $month . '/' . $day . '的文章';
    }
}
